<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Mykprisguide Website</title>
<style>
.invoicebox{
    width: 850px;
    font: normal 12px/130% arial;
}
.inin{
    display: block;
    margin: 40px 21px;
    width: 453px;
}
a,
.purple{
    color: #820851;
    text-decoration: underline;    
}
a:hover{
    text-decoration: none;
}
</style>
</head>
<body>
<div class="invoicebox"><div class="inin">


<?php 
$date=date("Y/m/d");
$time=date("H:i");
if($user=='admin')
{
    echo "<br /><br /><b>A file was uploaded on The Mykprisguide Website<br />Submitted on $date at $time by:</b><br /><br/>";
}
if($user=='client')
{
    echo "<br /><br /><b>Thank you for submitting your file to the Mykprisguide.<br />If we have any questions we will contact you.";
    echo "<br /><br/> Below is a copy of file upload you have submitted.</b><br /><br />";
}
$deadline=$artwork_deadline;
$datestr=strtotime($deadline);
$datestring=date('l, d F Y',$datestr);
$timestring=date('H:i',$datestr);
?>
Full Name: <?php echo $artwork_fullname;?> <br />
Company: <?php echo $artwork_company;?> <br />
Telephone: <?php echo $artwork_telephone;?> <br />
Email: <?php echo $artwork_email;?> <br />
Job Name: <?php echo $artwork_jobname;?> <br />
CE Number: <?php echo $artwork_cenumber;?> <br />
Quantity: <?php echo $artwork_quantity;?> <br />
Deadline: <?php echo $datestring ." at ".$timestring;?> <br />
Extra Note:<br /><?php echo nl2br($artwork_extranote);?> <br /><br /><br />
<?php
if($user=='admin')
{
    echo "You can view files in the Mykprisguide Uploads folder in your FTP area,<br/> or you can simply click on the link below to download the file now.";
}
?>
<br /><br />
File/s supplied:<br />
<?php 
if(!empty($artwork_uploads))
{
   foreach($artwork_uploads as $key=>$val)
   {
    $file='./uploads/artwork/'.$val['artwork_filename'];
		if(number_format(filesize($file)) > 0)
		{
  ?>
    		<a href="<?php echo site_url();?>download_artwork/download_pdf/<?php echo $val['artwork_filename'];?>" ><?php echo $val['artwork_filename'].' ('.number_format(filesize($file)/1024000,2).'mb)';?></a><br/>
 <?php 
		}
		else
			echo '(none)';
  }  
}
else
{
    echo '(none)';
}
?>
<br /><br />

Thanks!<br />

<a href="http://www.Mykprisguide.co.za/"></a><br /><br /><br />

<img src="<?php echo site_url(); ?>/images/email_footer.jpg" /><br />
</div><!-- inin -->
</div><!-- invoicebox -->
</body>
</html>